package com.example.pojo.wechat;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName Polygon
 * @Description: com.example.pojo.wechat
 * @Auther: xiwd
 * @Date: 2022/4/16 - 04 - 16 - 15:38
 * @version: 1.0
 *
 * WeChat-Map-Polygon数据规范
 *  {
 *         points:[
 *           {longitude:118.663545, latitude:33.11153} ,
 *           {longitude:118.677363, latitude:33.119833},
 *           {longitude:118.685861, latitude:33.1125},
 *           {longitude:118.671312, latitude:33.104808},
 *           {longitude:118.663545, latitude:33.11153}
 *         ],
 *         strokeWidth:1,
 *         strokeColor:"#ff7033",
 *         fillColor:"#dcdec7"
 *       }
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WxPolygon implements Serializable {
    private static final long serialVersionUID = -773353735203558692L;
    //properties
    private List<WxPoint> points;//经纬度数组
    private Integer strokeWidth;//描边的宽度
    private String strokeColor;//描边的颜色
    private String fillColor;//填充颜色

    //methods
}
